//
//  BasePanel.h
//  AsyncImages
//
//  Created by Matthew on 11-12-27.
//  Copyright 2011年 develop4u.gr. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "XMLTable.h"
#import "TopBar.h"

@class XMLTable;
@class TopBar;

@interface BaseInfoPanel : UIView 
{
    XMLTable *infoTable;
    TopBar *infoTopBar;    
    NSString *identifier;
    
    NSString *suffix;
    NSString *innerSuffix;
    
    BOOL useFeaturedImg;
    BOOL useLogo;
    
    BOOL useExitBtn;
    
    BOOL inited;
    
    int topBarType;
}

-(void) trigger:(NSString *) tableInfoWebLink
     infoBarTitle:(NSString *) inInfoBarTitle
              suffix:(NSString *) inSuffix;

-(void) releaseSelectedNode;
-(void) refresh;

-(void) setUpLogoAndImg:(BOOL) inUseLogo
                      featuredImg:(BOOL) inUseFeaturedImg;

-(void) setUpReturnBtn:(BOOL) inReturnBtnStatus;
-(void) setInnerSuffix:(NSString *) inInnerSuffix;

-(void) setAtomData:(NSString *) feedAndUnit
               atom:(NSString *) inAtomUnit
               feed:(NSString  *) feedUnit;

-(void) configTable:(int) inTableWidth
        tableHeight:(int) inTableHeight
         tableWidth:(int) inTableRowHeight
     tableUnitStyle:(int) inTableUnitStyle;

-(void) setUpUseCharacterPanel;

-(NSString *) getIdentify;

@property (nonatomic, copy) NSString *suffix;
@property BOOL inited;
@property int topBarType;
@end
